# Compilation bash script

# Make sure that lex (flex) and yacc (bison) is installed on your computer.

lex lex.l
yacc -v yacc.y
gcc -o fornax y.tab.c

# Post-condition: an grammar-validator executable named will be created.

# Execute some tests
# echo "Test1"
# ./fornax < test1.txt
# echo "Test2"
# ./fornax < test2.txt
# echo "Test3"
# ./fornax < test3.txt
